package com.ktjy.ktmall.dao;

import com.ktjy.ktmall.entity.Role;

import java.util.List;

/**
 *
 * 角色dao接口
 */
public interface RoleDao {
    public int insertRole(Role role);
    public int updateRole(Role role);
    public int deleteRole(Integer id);
    public Role selectRoleById(int id);
    public List<Role> getRoleListPage(Integer from, Integer pageSize);
    public int count();
}
